<% content_for :header do -%>
  <script type='text/javascript'>

	  $(document).ready(function() {
		
		  $("#post").click(function() {
			  $("#dim").fadeIn(800);
			  $("#new-message").fadeIn(800);
		  });
		
		  $("#close").click(function() {
			  $("#dim").fadeOut(200);
			  $("#new-message").fadeOut(200);
		  });
	
	  });
  </script>
<% end -%>
<p id="notice"><%= notice %></p>
<div id="content">
		
		<a id="post" href="#">Join this project</a>
			
		<div id="new-message" style="display:none; position: absolute; margin-left: 180px; z-index: 3;" >
		
		  <%= render :partial => 'messages/form' %>
			
		</div>

		<div id="idea">
		
			<h3>Project Title</h3> <span class="date-alt">posted on December 4th, 2011 </span><br/>
			
			<iframe src="http://player.vimeo.com/video/15414856?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="533" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
			
			<p>Lorem ipsum dolor sit amet, an eam facilis feugait moderatius. Aliquip debitis at eum. Ut quo eius veri, his quaeque phaedrum ei. Deseruisse assueverit comprehensam ei duo, melius accusata constituam nec ei. Cu ullum soluta dissentiet his, ad inani albucius sed, graece convenire rationibus est at. <br/><br/>

				Ne sed posse sapientem sadipscing, laoreet suscipiantur no vix, soluta impedit ut vis. Aeque exerci sensibus cum ut. Cu has saperet deleniti molestiae, ei quaeque civibus sed. Ne nam scripserit scribentur, ex cum tractatos vulputate cotidieque, vero solet ad has. Eruditi molestie imperdiet usu ea, aliquip blandit incorrupte no pri. <br/><br/>

				Eos cu eros eius etiam. Ex adhuc audire has, eam virtute facilis detracto eu. Solum conceptam assueverit ea eum. Fastidii pertinax instructior cum eu. No dico omnes est. Affert constituam pro cu, eam ei modus liber mundi.

				Te mel sententiae dissentiet, ex eos nisl perpetua conceptam, rebum volutpat complectitur eam ne. Eos dicam equidem qualisque ex, ea torquatos inciderint quo, id alia consequuntur duo. Per no errem diceret ocurreret. Cu erat deleniti forensibus duo, eripuit intellegat cotidieque cu vim. Et solet mucius nam, quod nostro oblique no mel.</p>
		
		</div>
		
		<div id="">
			
			<ul id="comments">
				
				<h3>Add new comment.</h3>
				
				<div id="add-comment">
					<span class="pp" style="background-image: url('images/teaface.png');"><img src="images/teaface.png" /> </span>
					<textarea placeholder="Add a comment."></textarea>
				</div>
				
				<li>	
					<a href="#">
						<h3>Bassem Sameh 
						<span class="pp" style="background-image: url('images/teaface.png');"> <img src="images/teaface.png" /></span>
						</h3>
					</a> 
					
					<span class="date">Dec 6th, 2011</span>
					
					<p>Lorem ipsum dolor sit amet, an eam facilis feugait moderatius. Aliquip debitis at eum. Ut quo eius veri, his quaeque phaedrum ei. Deseruisse assueverit comprehensam ei duo</p>
				</li>
				
				<li>
					<a href="#">
						<h3>Bassem Sameh 
						<span class="pp" style="background-image: url('images/teaface.png');"><img src="images/teaface.png" />
						</span>
						</h3>
					</a> 
					
					<span class="date">Dec 6th, 2011</span>
					
					<p>Te mel sententiae dissentiet, ex eos nisl perpetua conceptam, rebum volutpat.</p>
				</li>
			
				
			</ul>
			
		</div> 
		
	</div>



<%= link_to 'Edit |', edit_idea_path(@idea) if @idea.creator == current_user%>
<%= link_to 'Back', personalized_home_index_path %>
